import request from '@/utils/request'

/**
 *   销售额趋势图
 * @param {*} collectType
 * @param {*} start
 * @param {*} end
 * @returns
 */
export const saleRoomInfo = (collectType, start, end) => {
  return request({
    url: `/api/order-service/report/amountCollect/${collectType}/${start}/${end}`
  })
}

/**
 * 销售额分布
 * @param {*} start
 * @param {*} end
 * @returns
 */
export const saleRegionCollect = (start, end) => {
  return request({
    url: `/api/order-service/report/regionCollect/${start}/${end}`
  })
}

